package com.cloudbroker.bcs.platform.dav.bizexport.t2.export;


import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cloudbroker.bcs.common.entity.HSBCPSBackVO;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.PageVO;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.wechat.vo.PayForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.WeixinBizService;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.request.GetAccessTokenForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.request.GetTicketForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.request.GetUserInfoByAccessTokenForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.request.GetUserInfoByCodeForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.request.MassMessageForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.request.SaveLoginInformationForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.request.SendWxMessageForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.response.GetAccessTokenBackVo;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.response.GetHisMessageBackResult;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.response.GetTicketBackVo;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.response.GetUserInfoBackVo;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.response.TongLianPayBackVo;
import com.cloudbroker.bcs.platform.dav.bizapi.t2service.export.WeixinT2BizService;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;


/**
 * Created by xuyn15828 on 2016/5/12.
 */
@Service
public class WeixinT2 implements WeixinT2BizService {
    @Resource
    private WeixinBizService weixinBizService;

    @Override
    public GetAccessTokenBackVo getAccessTokenByCode(GetAccessTokenForm param) {
        return weixinBizService.getAccessTokenByCode(param);
    }

    @Override
    public GetUserInfoBackVo getUserinfoByAccessToken(GetUserInfoByAccessTokenForm param) {
        return weixinBizService.getUserinfoByAccessToken(param);
    }

    @Override
    public GetUserInfoBackVo getUserinfoByCode(GetUserInfoByCodeForm param) {
        return weixinBizService.getUserinfoByCode(param);
    }

    @Override
    public GetUserInfoBackVo getUserinfoByCodeTenant(GetUserInfoByCodeForm param) {
        return weixinBizService.getUserinfoByCodeTenant(param);
    }

    @Override
    public GetAccessTokenBackVo getAccessToken(GetAccessTokenForm param) {
        return weixinBizService.getAccessToken(param);
    }

    @Override
    public GetTicketBackVo getTicket(GetTicketForm param) {
        return weixinBizService.getTicket(param);
    }

    @Override
    public TongLianPayBackVo unifiedorder(PayForm param) {
        return weixinBizService.unifiedorder(param);
    }

    @Override
    public HSBCPSBackVO massMessage(MassMessageForm param) {
        return weixinBizService.massMessage(param);
    }

    @Override
    public GetHisMessageBackResult funcGetHisMessage(PageVO param) {
        return weixinBizService.funcGetHisMessage(param);
    }

    @Override
    public HSBCPSBackVO funcSaveLoginInformation(@ServiceParam("param") SaveLoginInformationForm param) {
        return weixinBizService.funcSaveLoginInformation(param);
    }

    @Override
    public HSBCPSBackVO funcSendWxMessage(@ServiceParam("param") SendWxMessageForm param) {
        return weixinBizService.funcSendWxMessage(param);
    }
}
